DSH-OpenCode-Go-Usage: Displaying OpenCode Go Usage Above the DSH Web Input Box

`dsh-opencode-go-usage` is a lightweight extension plugin designed specifically for the DeepSeek Harness (DSH) web profile. It addresses the issue faced by OpenCode Go subscription users who find it difficult to monitor their usage limits in real-time within the conversation interface. This plugin displays a usage chip above the input field, providing real-time visualization of the remaining proportions and reset countdowns across three windows: a 5-hour rolling period, weekly, and monthly usage. It supports color-coded alerts based on thresholds (≥80% in yellow for warnings, ≥90% in red for errors) and shows the data update time. The plugin features a 10-second polling mechanism, a 300-second host-side cache, and failure cooldown functionality, and it automatically appears only when the current session utilizes the `opencode-go` provider. Users can customize settings via a built-in editor or environment variables.

Read More